import { Component, Input, OnInit } from '@angular/core';
import { PageModalService } from 'src/app/shared/service/page-modal-service';
declare var $;
@Component({
  selector: 'app-design-pattern',
  templateUrl: './design-pattern.component.html',
  styleUrls: ['./design-pattern.component.scss'],
})
export class DesignPatternComponent implements OnInit {
  @Input() tagData: any;
  constructor(private pageModalService: PageModalService) { }

  ngOnInit() { }
  goPage(event, item) {
    event.stopPropagation();
    this.pageModalService.openPage(item.link);
  }
}
